package com.cf.base.sp.engine;

import com.cf.base.sp.annotation.Level;

/**
 * 存储器
 *
 * @author yangji
 */
public interface Storage {
    boolean put(String key, String t, Level level);

    String get(String key, Level level);

    int count(Level level);

    boolean contains(String key, Level level);

    void delete(String key, Level level);

    void clear(Level level);
}
